package com.grieous.wow.entity;

import java.io.Serializable;
import java.util.Date;

import com.grieous.wow.common.DateUtil;

public class FamilyVote implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long id;

    private Integer familyId;

    private String ip;

    private Date voteTime;

    private Date createTime;

    private Date modifyTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    

    public Integer getFamilyId() {
		return familyId;
	}

	public void setFamilyId(Integer familyId) {
		this.familyId = familyId;
	}

	public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getVoteTime() {
        return DateUtil.getDateStr("yyyy-MM-dd HH:mm:ss", voteTime);
    }

    public void setVoteTime(Date voteTime) {
        this.voteTime = voteTime;
    }


    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}